package com.xixixi.service;

import com.xixixi.po.Items;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface ItemsService {
    @Transactional
    List<Items> findItemsByName(String name) throws Exception;

    Items findItemById(int id) throws Exception;
}
